﻿using Base.Infrastructure.Dto.Request.Usert;
using Base.Infrastructure.Dto.Response;
using Base.Infrastructure.EFCore.MySql;
using Base.Infrastructure.Tools.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Base.Service.Interface
{
    [Provider]
    public interface IUsertService
    {
        /// <summary>
        /// 判断用户是否存在
        /// </summary>
        /// <param name="Uaccount"></param>
        /// <returns></returns>
        ApiResult CheckUsert(string Uaccount, string Code, string Openid,string verify);

        /// <summary>
        /// 判断用户是否登录
        /// </summary>
        /// <param name="Openid"></param>
        /// <returns></returns>
        ApiResult CheckOpenid(string Openid);

        /// <summary>
        /// 解绑
        /// </summary>
        /// <param name="Uaccount"></param>
        /// <returns></returns>
        ApiResult TuichuOpenid(string Uaccount);

        /// <summary>
        /// 获取随机验证码
        /// </summary>
        /// <returns></returns>
        ApiResult verification(string UAccount);
    }
}
